home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 11072 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.6 KB

  1. Path: user2.mnsinc.com!huang
  2. From: huang@mnsinc.com (Szu-Wen Huang)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Interest in comments on the C language.
  5. Date: 21 Mar 1996 20:29:46 GMT
  6. Organization: Monumental Network Systems
  7. Message-ID: <4ise7q$p09@news1.mnsinc.com>
  8. References: <4inp40$kj2@ogre.cs.waikato.ac.nz>
  9. NNTP-Posting-Host: user2.mnsinc.com
  10. X-Newsreader: TIN [version 1.2 PL2]
  11.  
  12. Oliver R Jones (orj@cs.waikato.ac.nz) wrote:
  13.  
  14. : 1: Is C inheriantly efficient (speed and code space wise)?
  15.  
  16. Yes, because C is closely coupled to machine architectures.  (Contrast
  17. with Prolog or Lisp, for instance).  In fact, C can probably be viewed
  18. as a simple and direct abstraction of machine architectures.
  19.  
  20. : 2: Is C inheriantly very readable and writable?  (Easy to code in and for non
  21. :    coders to read)
  22.  
  23. No, because C is terse, it's easy to write and difficult to read.
  24. (Contrast normal English and stenography)  Experts should have no
  25. problems reading it, of course.
  26.  
  27. : 3: Is C a very simple language?
  28.  
  29. Yes, there are few rules and special cases, and the language itself
  30. is quite small.  The library functions are another matter, but full
  31. knowledge of the library is not essential for intermediate programmers.
  32. (Example:  if you didn't know toupper() exists but know C, you can
  33. always write your own).
  34.  
  35. : 4: Is it consistant with accepted mathematical notations?
  36.  
  37. Yeah, prefix notation ;).
  38.  
  39. : 5: Why was C designed and for what purpose?
  40.  
  41. C was designed to write Unix, and gained popularity afterwards, since
  42. Unix systems are almost always shipped with C compilers (so you could
  43. recompile the kernel).
  44.